package com.mobile.persistent.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.mobile.persistent.base.BaseEntity;

/**
 * @author qingqiu
 * 供应商信息
 */
@Entity
@Table(name="supplierInfo")
@org.hibernate.annotations.Entity(dynamicInsert = true, dynamicUpdate = true)
public class SupplierInfo extends BaseEntity {

	private static final long serialVersionUID = 1L;
	/**
	 * 供应商名称
	 */
	private String supplierName;
	/**
	 * 供应商简称
	 */
	private String supplierAlias;
	/**
	 * 联系人
	 */
	private String contact;
	/**
	 * 地址
	 */
	private String address;
	/**
	 * 地区
	 */
	private String area;
	/**
	 * 电话
	 */
	private String tel;
	/**
	 * 手机
	 */
	private String mobile;
	/**
	 * 备注
	 */
	private String remark;
	
	@Column(name="supplierName", columnDefinition="varchar(50)", nullable=false)
	public String getSupplierName() {
		return supplierName;
	}
	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}
	@Column(name="supplierAlias", columnDefinition="varchar(20)", nullable=false)
	public String getSupplierAlias() {
		return supplierAlias;
	}
	public void setSupplierAlias(String supplierAlias) {
		this.supplierAlias = supplierAlias;
	}
	@Column(name="contact", columnDefinition="varchar(10)")
	public String getContact() {
		return contact;
	}
	public void setContact(String contact) {
		this.contact = contact;
	}
	@Column(name="address", columnDefinition="varchar(100)")
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	@Column(name="area", columnDefinition="varchar(50)")
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	@Column(name="tel", columnDefinition="varchar(18)")
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	@Column(name="mobile", columnDefinition="varchar(13)")
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	@Column(name="remark", columnDefinition="varchar(200)")
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
}
